package com.task.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import javax.persistence.Id;

/**
 * @Author sunyaoyao
 * @Date 2024/10/7 20:17
 */
@Data
public class AddTravelDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    private String type;

    private String title;

    private String info;

    private String url;
}
